<template>
  <ComponentEditor v-if="active === 'component'" type="root" v-model:component="currentApp.root" v-model:component-props="currentApp.rootProps" />
  <LayoutEditor v-if="active === 'layout'" v-model="currentApp.rootLayout" />
</template>
<script lang="ts" setup>
  import { active, currentApp } from '@/views/seed-dev'
  import { ComponentEditor } from '../../ComponentEditor';
  import { LayoutEditor } from '../../LayoutEditor';
</script>